<?php

require_once('AClass.php');
class Planning extends AClass{

	public function __construct(){
		$this->table = 'evenement';
		parent::__construct();
	}

	public function showAll(){
		$requete = 'SELECT SQL_CACHE id, date_debut, date_fin, titre, description FROM '.$this->table.' ORDER BY id DESC';
		parent::showAll($requete);
		return $this->data;
	}

}

?>